import { request } from '@umijs/max';
import qs from "qs";

export const list=(params:Record<string, any>,options?:Record<string, any>)=>{
  return request("http://localhost:8889/api/article/ai",{
    method: 'POST',
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded',
    },
    data: qs.stringify(params),
    ...options,
  });
}
